<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>文件列表</title>
</head>
<body>
<p th:each="fileInfo:${fileInfos}">
    <a th:text="${fileInfo.getFileName()}" th:href="@{${fileInfo.getUri()}}"></a>&nbsp;&nbsp;<a th:href="@{${fileInfo.getPreviewUri()}}">预览</a>
</p>
<br/>
<a href="/file/upload">上传文件</a>
</body>
</html>